<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<script>
		// for(声明记录循环次数的变量;循环条件;变化值){
		// 	循环体
		// }
		// 循环0-100
		for(let i=0;i<=100;i++){
			console.log(i)
		}

		let a = 1
		// console.log(a++,'++')
		console.log(++a,'++a')
		console.log(a,'a')
		// 求1-10的阶乘
		let acc = 1
		for(let i =1;i<=10; i++){
			acc*=i
		}
		console.log(acc)
	</script>
</body>
</html>